<?php

namespace app\model\order;

use think\Model;

/**
 * t_order_address 用户订单收件地址
 * @property integer $id 地址id(主键)
 * @property integer $order_id 订单id
 * @property integer $user_id 下单人id
 * @property integer $address_id 管理的地址id
 * @property string $user_name 收货人
 * @property string $phone 手机号
 * @property string $province 收件省份
 * @property string $city 收件城市
 * @property string $county 收货人所在区
 * @property string $street 收货人所在街道
 * @property string $detail 收货人详细地址
 * @property integer $post_code 邮编
 * @property string $longitude 经度
 * @property string $latitude 纬度
 * @property string $create_time 创建时间
 * @property string $province_code
 * @property string $city_code
 * @property string $county_code
 * @property string $street_code
 */
class OrderAddress extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_order_address';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';

    
}
